.header {
    padding: 15px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header h1 {
    font-size: 18px;
    color: #333;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 5px;
    overflow: hidden;
    background-color: #eee;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.checkbox.selected {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.checkbox.selected::after {
    content: "✓";
    font-size: 12px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.selected-count {
    font-size: 14px;
    color: #666;
}

.confirm-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.confirm-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}